package com.lagou.code.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "lagou-service-email",path = "/api")
public interface MailFeighClient {

    @GetMapping("/email/{email}/{code}")
    public Integer sendEmail(@PathVariable(value = "email")  String email, @PathVariable(value = "code") String code);
}
